Skip to content

Conversation

@3onyc
Copy link
Contributor

@3onyc 3onyc commented May 10, 2018

So far this code fixes any errors with where*() methods, except for more complicated cases.

For reference

You seem to be able to call methods such as Model::whereEmailAndName($email, $name) and Model::whereEmailOrEmail($email, $otherEmail) but I haven't ever used these and would have to do more research.

I also think writing a library to easily create "fake" classes/methods/variables and easily construct types could be beneficial for the more magic methods such as this one, assuming such a library doesn't already exist.

Feel free to comment and contribute, as this is far from ready to be merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant